package com.yjd.comm.device.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.device.model.MerchantDeviceModel;

/**
 * <b>description</b>：商户设备信息表业务接口<br>
 * <b>time</b>：2017-11-27 10:33:36 <br>
 * <b>author</b>：  yangchangyan@yijiedai.com
 */
public interface IMerchantDeviceService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public MerchantDeviceModel insert(MerchantDeviceModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(MerchantDeviceModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param device_id
	 * @return
	 * @throws Exception
	 */
	public int delete(long device_id) throws Exception;

}
